package com.pandora.common.exception;

import java.io.Serializable;

import com.pandora.framework.constant.ResponseConstants;

/**
 * 异常类
 * 
 * @author JingChenglong 2017/12/15 19:39
 */
public class EduException extends Exception implements Serializable {

	private static final long serialVersionUID = 1L;

	private int code;

	public EduException() {
		super(String.valueOf(ResponseConstants.SYSTEMBUSY));
	}

	public EduException(int code) {
		super(String.valueOf(code));
		this.code = code;
	}

	public EduException(String msg) {
		super(msg);
	}

	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}
}